package com.epam.necklace.logic.activity;

import org.apache.log4j.Logger;

import com.epam.necklace.model.stone.Stone;

public class GetComposition {
	private static final Logger log = Logger.getLogger(GetComposition.class);

	public void action() {
		StringBuilder output = new StringBuilder();
		output.append("Your necklace is composed of- ");
		for (Stone beads : Necklace.necklace) {
			output.append(beads.toString()).append(",");
		}
		log.info(output);
	}
}
